package com.antis.olsl.magic.report.weekly.detail;

import com.antis.olsl.base.BasePresenter;
import com.antis.olsl.base.BaseView;
import com.antis.olsl.library.response.GetEmployeeInfoListResp;
import com.antis.olsl.magic.response.GetSalesSummaryResp;

import java.util.List;
import java.util.Map;

public class WeeklyDetailContract {

    interface Presenter extends BasePresenter {
        void takeView(WeeklyDetailContract.View view);

        void getWeekSalesDetails(Map<String, Object> map);

        void getEmployeeInfoList(Map<String, Object> map);
    }

    interface View extends BaseView<Presenter> {
        void getWeekSalesDetailsSuccess(GetSalesSummaryResp.ContentBean bean);

        void getWeekSalesSummaryEmpty();

        void getWeekSalesDetailsFailure(String msg);

        void getEmployeeInfoListSuccess(List<GetEmployeeInfoListResp.ContentBean> list);

        void getEmployeeInfoListFailure(String msg);
    }
}
